﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserAddrList.aspx.cs" Inherits="Maticsoft.Web.wap.UserAddrList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <!--#include file="include/head.htm"-->
</head>
<body>
    <form id="form1" runat="server">
    <header class="mui-bar">
			<a class="mui-action-back gotoup mui-pull-left"></a>
			<h1 class="mui-title">管理收货地址</h1>
		</header>
    <div class="mui-content pad-btm-60">
        <asp:Repeater ID="Repeater1" runat="server">
        <ItemTemplate>
        <div class="mui-input-group mana-list">
        <div class="mui-input-row">
            <label>
                <h5 class="tc-red">
                    <%#Eval("Name") %> <%#Eval("Mobile") %></h5>
                <h6 class="tc-gray">
                    <%#GetLocation(Eval("locationId")) + " " + Eval("Address")%></h6>
            </label>
        </div>
        <div class="mui-input-row mui-radio mui-left">
            <!--<input name="radio1" type="radio" checked="checked">-->
                <h5 class="tc-black mui-pull-left" style="margin-left:5px;">
                    <%#Maticsoft.Common.DigitHelper.GetInt32(Eval("IsMain"))==1 ? "默认" : "" %></h5>
                <button class="mui-pull-right tc-black mui-btn-link" type="button" onclick="window.location.href='UserAddrList.aspx?act=del&id=<%#Eval("DeliveryId") %>'">
                    <img src="img/icons-delete.png">删除</button>
                <button class="mui-pull-right tc-black mui-btn-link" type="button" onclick="window.location.href='UserAddrAdd.aspx?id=<%#Eval("DeliveryId") %>'">
                    <img src="img/icons-edit.png">编辑</button>
            
        </div>
        </div>
        </ItemTemplate>
        </asp:Repeater>
        <div class="pad-10 fix-btm-0">
            <button type="button" onclick="window.location.href='UserAddrAdd.aspx'">
                新建地址</button>
        </div>
    </div>
    </form>
</body>
</html>
